home *** CD-ROM | disk | FTP | other *** search
- on exitFrame
- global nugis, syu, tired, self
- if self = 0 then
- set self to 4
- set the visible of sprite 17 to 1
- set the visible of sprite 18 to 1
- set the visible of sprite 19 to 1
- set the visible of sprite 20 to 1
- set tired to tired + 1
- end if
- set the visible of sprite 26 to 0
- if nugis = 0 then
- set the visible of sprite 22 to 1
- set syu to syu + 2
- updateStage()
- go("first")
- else
- go(the frame)
- end if
- end
-